/*
 * @Author: ShengXD <1519256482@qq.com>
 * @Date: 2024-11-06 15:16:16
 * @LastEditors: ShengXD <1519256482@qq.com>
 * @LastEditTime: 2024-11-06 15:16:32
 * @FilePath: /vben-quick-setup/apps/backend-mock/api/fetchAccessCodes.ts
 * @Description: 
 */
import { verifyAccessToken } from '~/utils/jwt-utils';
import { unAuthorizedResponse } from '~/utils/response';

export default eventHandler((event) => {
  const userinfo = verifyAccessToken(event);
  if (!userinfo) {
    return unAuthorizedResponse(event);
  }

  return useResponseSuccess([
    
  ]);
});
